<div>
    <div class="search-form">
        <form nz-form [nzLayout]="'inline'" [formGroup]="validateForm" (ngSubmit)="submitForm()">
            <nz-form-item>
              <nz-form-label [nzSpan]="6" nzFor="documentDate">单据日期</nz-form-label>
              <nz-form-control>
                <nz-input-group>
                  <nz-range-picker formControlName="documentDate"></nz-range-picker>
                </nz-input-group>
              </nz-form-control>
            </nz-form-item>
            <nz-form-item>
              <nz-form-label [nzSpan]="6" nzFor="documentNumber">单据编号</nz-form-label>
              <nz-form-control>
                <nz-input-group>
                  <input formControlName="documentNumber" nz-input type="documentNumber" placeholder="单据编号" />
                </nz-input-group>
              </nz-form-control>
            </nz-form-item>
            <nz-form-item>
              <nz-form-label [nzSpan]="8" nzFor="buyer">采购员</nz-form-label>
              <nz-form-control>
                <nz-input-group>
                  <nz-select
                    id="buyer"
                    formControlName="buyer"
                    nzPlaceHolder="请选择采购员"
                    >
                  <nz-option nzValue="male" nzLabel="male"></nz-option>
                  <nz-option nzValue="female" nzLabel="female"></nz-option>
                </nz-select>
                </nz-input-group>
              </nz-form-control>
            </nz-form-item>
            <nz-form-item>
              <nz-form-control>
                <button nz-button nzType="primary">搜索</button>
              </nz-form-control>
            </nz-form-item>
        </form>
    </div>
    <div class="button-group">
      <button nz-button nzType="primary" (click)="addForm()">新增</button>
    </div>
    <nz-table #basicTable [nzData]="[]">
        <thead>
          <tr>
            <th>序号</th>
            <th>单号</th>
            <th>单据状态</th>
            <th>仓库</th>
            <th>审核状态</th>
            <th>供应商名称</th>
            <th>供应商编码</th>
            <th>单据金额</th>
            <th>采购员</th>
            <th>制单人</th>
            <th>制单日期</th>
            <th>审核人</th>
            <th>审核日期</th>
          </tr>
        </thead>
        <tbody>
          <tr *ngFor="let data of basicTable.data">
            <td>{{ data.name }}</td>
            <td>{{ data.age }}</td>
            <td>{{ data.address }}</td>
            <td>
              <a>Action 一 {{ data.name }}</a>
              <!-- <nz-divider nzType="vertical"></nz-divider> -->
              <a>Delete</a>
            </td>
          </tr>
        </tbody>
      </nz-table>
</div>